<template>
  <view class="fkjl">
    <view class="sub_title">督查详情</view>
    <view class="info">
      <view class="info_item info_item_header">
        <view>项目名称</view>
        <view>{{ info.xmmc }}</view>
      </view>
      <view class="info_item">
        <view>督查事项详情</view>
        <view>{{ info.dcsxxq }}</view></view
      >
      <view class="info_item">
        <view>被督查单位经办人</view>
        <view>{{ info.bdcdwjbe }}</view></view
      >
      <view class="info_item">
        <view>被督查单位责任人</view>
        <view>{{ info.bdcdwzrr }}</view></view
      >
      <view class="info_item">
        <view>驻县政府办督查组</view>
        <view>{{ info.dcz }}</view></view
      >
    </view>
    <view class="sub_title">督查反馈</view>
    <view class="record">
      <view class="item" v-for="(item, index) in recordArr" :key="index">
        <view class="title"
          >{{ item.title }} <text>{{ item.text }}</text></view
        >
        <view class="content">
          <view>督查时间:</view>
          <view>{{ item.time }}</view>
        </view>
        <view class="content">
          <view>督查方式:</view>
          <view>{{ item.type }}</view>
        </view>
        <view class="content">
          <view>督查情况:</view>
          <view>{{ item.problem }}</view>
        </view>
      </view>
    </view>
    <view class="buttons">
      <view>取消</view>
      <view>提交</view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      info: {
        xmmc: "城南幼儿园",
        dcsxxq:
          "项目：城南幼儿园下政府投资项目（完整流程）初设与概算编制（含评审单位选择）因任务逾期，产生督查任务。 拷贝",
        bdcdwjbe: "周晓峰",
        bdcdwzrr: "雷达连",
        dcz: "驻县政府办督查组",
      },
      recordArr: [
        {
          title: "督查催办记录",
          text: "（第1次）",
          time: "2020.02.26 14:23:42",
          type: "问责",
          problem: "这是一个测试案例",
        },
        {
          title: "督查催办记录",
          text: "（第2次）",
          time: "2020.02.26 14:23:42",
          type: "问责",
          problem: "这是一个测试案例",
        },
        {
          title: "督查催办记录",
          text: "（第3次）",
          time: "2020.02.26 14:23:42",
          type: "问责",
          problem: "这是一个测试案例",
        },
      ],
    };
  },
  onReady() {},
  methods: {},
};
</script>

<style lang="scss" scoped>
.fkjl {
  .sub_title {
    height: 95rpx;
    line-height: 95rpx;
    padding-left: 20rpx;
    font-size: 28rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #3074ff;
    margin: 0;
  }
  .info {
    width: 710rpx;
    height: 526rpx;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0rpx 0rpx 24rpx 0rpx rgba(48, 116, 255, 0.1);
    border-radius: 8rpx;
    padding: 0 24rpx;

    .info_item {
      display: flex;
      flex-flow: row nowrap;
      justify-content: flex-start;
      padding: 20rpx 0;

      view:nth-child(1) {
        width: 150rpx;
        font-size: 24rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #8e9cb3;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        padding: 0 20rpx;
      }
      view:nth-child(2) {
        flex: 1;
        font-size: 28rpx;
        font-family: PingFang SC;
        font-weight: bold;
        color: #272b32;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: center;
        margin-left: 20rpx;
      }
    }
    .info_item_header {
      border-bottom: 1rpx solid rgba(231, 233, 240, 1);
      padding: 0;
    }
  }
  .record {
    width: 710rpx;
    height: 898rpx;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0rpx 0rpx 24rpx 0rpx rgba(48, 116, 255, 0.1);
    border-radius: 8rpx;
    padding: 0 24rpx;

    .item {
      padding-top: 30rpx;
      border-bottom: 1rpx solid rgba(231, 233, 240, 1);
      .title {
        font-size: 32rpx;
        font-family: PingFang SC;
        font-weight: bold;
        color: #272b32;
        margin-bottom: 30rpx;
        text {
          font-size: 28rpx;
          font-family: PingFang SC;
          font-weight: 500;
          color: #f85f78;
        }
      }
      .content {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-content: center;
        font-size: 28rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #272b32;
        margin-bottom: 27rpx;
        view:nth-child(2){
            margin-left: 16rpx;
        }
      }
    }
  }
  .buttons {
    width: 100%;
    height: 98rpx;
    line-height: 98rpx;
    text-align: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    view:nth-child(1) {
      flex: 1;
      background: #ffffff;
      border: 1rpx solid #e7e9f0;
      font-size: 36rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #8e9cb3;
    }
    view:nth-child(2) {
      flex: 1;
      background: #3074ff;
      font-size: 36rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #fefefe;
    }
  }
}
</style>
